<!-- annotation confirm -->
<template>
  <div>
    <button @click="excute">
      confirm submit
    </button>
  </div>
</template>

<script lang="ts">
import { Vue, Component } from "kaygnas-vue-property-decorator";
import { ConfirmIntercept } from "@/annotations/confirm-intercept";

@Component({
  name: "Demo3",
})
export default class Demo3 extends Vue {

  @ConfirmIntercept("执行")
  public excute() {
    alert("已执行");
  }
}
</script>

